package com.zh.note.demo.javaSE;

import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
 * @Author: zhanghuan
 * @date: 2024/11/22 21:37
 * @description: create it
 */
public class DebugDemo {
    public static void main(String[] args) {

        List<Integer> collect = Stream.of(1, 2, 2, 3, 4, 5, 6)
                .filter(item -> item > 3)
                .map(m -> m * 2)
                .collect(Collectors.toList());

    }
}
